home *** CD-ROM | disk | FTP | other *** search
- /*
- This is a sample Turbo Prolog program
- that calls C Language routines. See
- EXAMPL65.C for more information. Read
- the READ64.ME file on this disk for
- more information.
- */
-
- global domains
- ilist = integer*
- ifunc = f(integer)
-
- global predicates
- clist(ilist, ifunc) - (i,o) (o,i) language c
-
- goal
- clearwindow,
- clist([3],X),
- write(X), nl,
- clist(Y,X),
- write(Y), nl.